package by.grsu.transport.persistence.dao.base;

import java.util.List;

public interface GenericDao<T> {
    
	public Class<T> getEntityClass();

	public T findById(final int id);

	public List<T> findAll();
	
	public void insert(final T entity);
	
	public void update(final T entity);

	public void delete(final T entity);
}